# Contributor: Coco Liliace <coco@liliace.dev>
# Maintainer: Coco Liliace <coco@liliace.dev>
pkgname=photon
pkgver=1.0.1
pkgrel=6
pkgdesc="RSS reader as light as a photon with terminal + sixel"
url="https://sr.ht/~ghost08/photon/"
arch="all"
license="GPL-3.0-or-later"
makedepends="go scdoc"
options="!check" # no tests
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~ghost08/photon/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
1bb81b7d75aaa47a90c0d0c67256f422630e4b023bf9fb07b373d72968526edf8635bbb6077cf903ae166353d3170488fd26dbead7729a1e4857009cb1745480  photon-1.0.1.tar.gz
"
